package feature;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ken
 * Date: 2023-11-26
 * Time: 19:19
 */
public class ShowOperation implements IOPeration{
    @Override
    public void work(BookList bookList) {
        System.out.println("展示所有图书");
      int countsize = bookList.getUsedSize();
        for (int i = 0; i < countsize; i++) {
            System.out.println(bookList.getBooks(i));

        }
    }
}
